package com.newland.starpos.partner.bean.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class UserIdentityDTO {

    @JsonProperty(value = "identityType")
    private String type;

    @NotBlank(message = "身份证不能为空")
    @JsonProperty(value = "identityCard")
    private String iCardNo;

    @NotBlank(message = "姓名不能为空")
    @JsonProperty(value = "identityName")
    private String iName;

    @NotBlank(message = "银行卡不能为空")
    @JsonProperty(value = "bankCard")
    private String bCardNo;

    @JsonProperty(value = "bankName")
    private String bName;
}
